package com.seadragon.app.dms.dao.jpa;

import com.seadragon.app.dms.dao.DriverDao;
import com.seadragon.app.dms.model.Driver;

public class DriverDaoJpaImpl extends AbstractJpaDao implements DriverDao {

	@Override
	public void save(Driver driver) {
		entityManager.persist(driver);
	}
	@Override
	public Driver findById(long id){
		return entityManager.find(Driver.class, new Long(id));
	}

}
